<?php

$_SESSION['logged'] = 0;
$_SESSION['username'] = null;
$_SESSION['UserId'] = null;
$_SESSION['last_login'] = null;
session_unset(); // Destroys the session.
session_destroy();

setcookie("ReferringPostData", null, time()-1);  /* expire in 1 hour */
setcookie("ReferringPage", null, time()-1);  /* expire in 1 hour */

$usebufferedcontent  = false;
$bDoNotDisplayFurniture  = false;

$PACTS_cfg->init(false,$usebufferedcontent);

// Start the prosessing time for the page
$PACTS_cfg->startpageload = $PACTS_cfg->utime();

//Process Page...
$PACTS_cfg->addBufferedContent( $PACTS_cfg->html_header() );
$PACTS_cfg->addBufferedContent( '<div id="page">' );
//$PACTS_cfg->addBufferedContent( $PACTS_cfg->start_header_div(false) );
//$PACTS_cfg->addBufferedContent( $PACTS_cfg->start_page_header(false) );
$PACTS_cfg->addBufferedContent( $PACTS_cfg->start_header_div(false) );
$PACTS_cfg->addBufferedContent( $PACTS_cfg->start_page_header(false) );
$PACTS_cfg->addBufferedContent( $PACTS_cfg->start_div_main());
$PACTS_cfg->start_div_main();
echo '<ul>'."\n";
echo '<li class="titlename2">You are now logged out</li>'."\n";
echo '</ul>'."\n";
//$PACTS_cfg->print_login_form();

?>
<a href="index.php">login again</a>
<?php


$PACTS_cfg->end_div_main();
$PACTS_cfg->end_html();


?>